package com.skyline.jfs.cluster.model;


public class JFSNodeConfigProper {
	private static JFSNodeConfigProper proper=new JFSNodeConfigProper();
	private static Integer id;
	private static String hostname;
	private static Long adminJobNum;
	private static String ipAddress;
	private static String storageDirectory;
	private static Integer loadbalacingFactor;
	private static String description;
	private static Integer heartRate;
	private static Boolean registed;
	private static Long totalSpace;
	private static Long usableSpace;
	
//	public JFSNodeConfigProper(){
//		id=Integer.valueOf(Config.getLocalFSConfig("hostid"));
//	}
	public static Integer getId() {
		return id;
	}
	public static void setId(Integer id) {
		JFSNodeConfigProper.id = id;
	}
	public static JFSNodeConfigProper getProper(){
		return proper;
	}
	public static String getHostname() {
		return hostname;
	}
	public static void setHostname(String hostname) {
		JFSNodeConfigProper.hostname = hostname;
	}
	public static Long getAdminJobNum() {
		return adminJobNum;
	}
	public static void setAdminJobNum(Long adminJobNum) {
		JFSNodeConfigProper.adminJobNum = adminJobNum;
	}
	public static String getIpAddress() {
		return ipAddress;
	}
	public static void setIpAddress(String ipAddress) {
		JFSNodeConfigProper.ipAddress = ipAddress;
	}
	public static String getStorageDirectory() {
		return storageDirectory;
	}
	public static void setStorageDirectory(String storageDirectory) {
		JFSNodeConfigProper.storageDirectory = storageDirectory;
	}
	public static Integer getLoadbalacingFactor() {
		return loadbalacingFactor;
	}
	public static void setLoadbalacingFactor(Integer loadbalacingFactor) {
		JFSNodeConfigProper.loadbalacingFactor = loadbalacingFactor;
	}
	public static String getDescription() {
		return description;
	}
	public static void setDescription(String description) {
		JFSNodeConfigProper.description = description;
	}
	public static Integer getHeartRate() {
		return heartRate;
	}
	public static void setHeartRate(Integer heartRate) {
		JFSNodeConfigProper.heartRate = heartRate;
	}
	public static Boolean getRegisted() {
		return registed;
	}
	public static void setRegisted(Boolean registed) {
		JFSNodeConfigProper.registed = registed;
	}
	public static Long getTotalSpace() {
		return totalSpace;
	}
	public static void setTotalSpace(Long totalSpace) {
		JFSNodeConfigProper.totalSpace = totalSpace;
	}
	public static Long getUsableSpace() {
		return usableSpace;
	}
	public static void setUsableSpace(Long usableSpace) {
		JFSNodeConfigProper.usableSpace = usableSpace;
	}
}
